package com.ag.oa.core.entity.vo;

import java.io.Serializable;
import java.util.List;

/**
 * Author:   wjc
 * Date:     2021/10/18
 * Description: 项目实体
 */
public class ProjectVO implements Serializable {

    private static final long serialVersionUID = -3626785127954816355L;

    private Integer projectId;       // 项目id
    private String projectName;      // 项目名称
    private String constitution;     // 章程
    private String projectDesc;      // 项目描述
    private Integer projectStatus;   // 项目状态 1：想法 2：运行 3：暂停 4：完成 5：关闭
    private String beginTime;        // 项目开始时间
    private String endTime;          // 项目结束时间
    private String created;          // 项目创建时间
    private Integer userId;          // 操作用户ID
    private String username;         // 昵称
    private Integer createdBy;       // 创建人ID
    private String projectUserType;  // 项目人员类型（0：发起人 1：负责人）
    private List<Integer> userIds;   // 前端选中的多个用户id
    private Integer projectUserId;   // 项目的负责人id，用于添加任务时(查询指定负责人有哪些项目)

    public List<Integer> getUserIds() {
        return userIds;
    }
    public void setUserIds(List<Integer> userIds) {
        this.userIds = userIds;
    }

    public Integer getProjectId() {
        return projectId;
    }
    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getConstitution() {
        return constitution;
    }
    public void setConstitution(String constitution) {
        this.constitution = constitution;
    }

    public String getProjectDesc() {
        return projectDesc;
    }
    public void setProjectDesc(String projectDesc) {
        this.projectDesc = projectDesc;
    }

    public Integer getProjectStatus() {
        return projectStatus;
    }
    public void setProjectStatus(Integer projectStatus) {
        this.projectStatus = projectStatus;
    }

    public String getBeginTime() {
        return beginTime;
    }
    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCreated() {
        return created;
    }
    public void setCreated(String created) {
        this.created = created;
    }

    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }
    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public String getProjectUserType() {
        return projectUserType;
    }
    public void setProjectUserType(String projectUserType) {
        this.projectUserType = projectUserType;
    }

    public Integer getProjectUserId() {
        return projectUserId;
    }
    public void setProjectUserId(Integer projectUserId) {
        this.projectUserId = projectUserId;
    }

    public ProjectVO() {

    }

    @Override
    public String toString() {
        return "ProjectVO{" +
                "projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", constitution='" + constitution + '\'' +
                ", projectDesc='" + projectDesc + '\'' +
                ", projectStatus=" + projectStatus +
                ", beginTime='" + beginTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", created='" + created + '\'' +
                ", userId=" + userId +
                ", username='" + username + '\'' +
                ", createdBy=" + createdBy +
                ", projectUserType='" + projectUserType + '\'' +
                ", userIds=" + userIds +
                ", projectUserId=" + projectUserId +
                '}';
    }
}
